package flymoke.generic.method;

import flymoke.generic.inter.Generator;


public class TestGeneric {
	private static int count = 0;
	private final int id = count++;
	private int id(){ return id;}
	public String toString(){
		return this.getClass().getName()+"  "+id;
	}
	
	public static void main(String[] args) {
		Generator<TestGeneric> type = BaseGeneric.create(TestGeneric.class);
		for (int i = 0; i < 5; i++) {
			System.out.println(type.next());
		}
	}
}
